
import { useNavigate } from 'react-router'
export default function useShowAlbumDetail() {
  const navigator = useNavigate()
  const goToAlbumDetail = id => {
    navigator(`/discover/albumDetail/${id}`)
  }
  return goToAlbumDetail
}